#pragma once
#include "Gns_Bullet.h"
#include "define.h"
#include "FSMBase.h"

USING_NS_GNS;

class Gns_Bullet;
class Gns_BulletCtrl : public FSMRef
{
public:
	Gns_BulletCtrl();
	~Gns_BulletCtrl();

	static Gns_BulletCtrl* create(Gns_Bullet* owner);
	virtual bool init(Gns_Bullet* owner);

	void onStartEnter();
	void onStartLeave();
	void onMoveEnter();
	void onMoveLeave();
	void onBeHitEnter();
	void onBeHitLeave();
	void onInPoolEnter();
	void onInPoolLeave();

private:

	Gns_Bullet* _Owner;

};

